home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-13
/
hplj3j11.zip
/
MAIN.SPL
< prev
next >
Wrap
Text File
|
1991-09-02
|
2KB
|
49 lines
printer LaserJet III,disk Alternative-A,in hplj3j.spl
;; --- IBM PC: ---
port Serial (COMn:), root, name Serial,
;; Serial ports may use hardware (Busy/Ready) handshaking, or XON/XOFF (also
;; known as DC1/DC3, or software handshaking). You will need to know which
;; kind of handshaking to choose.
io PORT,omask 60H,oready 60H,imask 1,iready 1
port Serial (COMn:).COM1, root, oport 3F8H, ostat 3FDH, iport 3F8H, istat 3FDH
;; Select the type of handshaking to be used.
port Serial (COMn:).COM1.Busy/Ready
port Serial (COMn:).COM1.XON/XOFF,sync
port Serial (COMn:).COM2, root, oport 2F8H, ostat 2FDH, iport 2F8H, istat 2FDH
;; Select the type of handshaking to be used.
port Serial (COMn:).COM2.Busy/Ready
port Serial (COMn:).COM2.XON/XOFF,sync
port Parallel (LPTn:), root, name Parallel,
;; The "LPTn" terminology varies in depending on the arrangement of your
;; hardware, so you must choose the port by which card it is plugged into.
;; Choose:
;; "Mono" if your printer is plugged into a monochrome display adapter.
;; "Normal" for almost any other parallel port.
;; "AST2" for a second parallel port on AST (and other) cards.
io PORT,omask 80H,oready 80H
port Parallel (LPTn:).Mono,ostat 3BDH,oport 3BCH,send %c%958p\15\14
port Parallel (LPTn:).Normal,ostat 379H,oport 378H,send %c%890p\15\14
port Parallel (LPTn:).AST2,ostat 279H,oport 278H,send %c%634p\15\14
port Other,
;; The device names that follow are for communication with specific device
;; drivers.
root
;; Use these to talk to specific MSDOS device drivers:
port Other./dev/com1,io DEVICE
port Other./dev/com2,io DEVICE
port Other./dev/com3,io DEVICE
port Other./dev/com4,io DEVICE
port Other./dev/lpt1,io DEVICE
port Other./dev/lpt2,io DEVICE
port Other./dev/lpt3,io DEVICE